package com.learn.ioc.component;

import org.springframework.stereotype.Repository;

@Repository
public class SoldierDAO {
    public void getMessage() {
        System.out.println("I am a soldier");

    }
}
